package com.bdqn.mapper;

import com.bdqn.pojo.TransactionRecord;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * TransactionRecordMapper
 *
 * @author 武子
 * @date 2024/10/31
 */
public interface TransactionRecordMapper {

    int conAdd(TransactionRecord transactionRecord);

    int incAdd(TransactionRecord transactionRecord);

    List<TransactionRecord> listPage(@Param("transactionDateA") String transactionDateA, @Param("transactionDateB") String transactionDateB, @Param("pageIndex") Integer pageIndex, @Param("pageSize") Integer pageSize);

    int count(@Param("transactionDateA") String transactionDateA, @Param("transactionDateB") String transactionDateB);
}
